package com.qymerge.manage.system.dao;

import com.qymerge.manage.core.bean.PageRequest;
import com.qymerge.manage.system.dto.DatabackDto;
import com.qymerge.manage.system.ro.DatabackRO;

import java.util.List;

/**
 * <p>Title: IDatabackDao</p>
 * <p>Description: 数据库备份</p>
 *
 * @Author cong.zhang
 * @Version 1.0.0
 * @Date 2020/12/19
 * @Time 17:52
 */
public interface IDatabackDao {

    List<DatabackRO> list(DatabackDto ro, PageRequest pageRequest);

    int total(DatabackDto ro);

    DatabackRO findOneById(Long id);

    int install(DatabackRO ro);

    int update(DatabackRO ro);

    int removeList(List<Long> list);

}
